#!/usr/bin/env python
#coding=utf-8

from flask import Blueprint, session

from aladin.helpers import *

admin_index = Blueprint('admin_index', __name__)

@admin_index.route('/')
@admin_index.route('/welcome')
def welcomde():
    """后台首页"""
    admin_name = session['admin_name']
    return show_admin_success(u'登录成功', u'亲爱的%s, 私享课感谢您努力工作和辛勤的付出！' % (admin_name))
